pp108 : Enabling Debugging on previous Business Process Models

Enabling Debugging on previous Business Process Models

This topic describes the procedure to enable debugging on the previous process models.

Before you begin this task:

You need the Process Platform Administrator role in the System organization and access to the file system of the Process Platform server to perform this task.

Testing an application includes finding issues, fixing them, and repeating the test scenarios. Once an issue is fixed, you may not analyze the results of the tests that are conducted on older versions of your applications. Similarly, developers may not be interested in debugging the instances of older versions of BPMs under test.

On a default Process Platform development environment, it is meaningful to open the graphical view of a BPM or its instances only if that BPM or instance is still in sync with the version as it resides in the development workspace from which it originates. In other words, while opening the graphical view of a BPM, the system will open the BPM designer using the original BPM from the development workspace. As a result, if the BPM has been modified after it has last been published, the graphical view does not correspond to the BPM as it is available in the runtime.

To enable the functionality to debug old process instances, you need to follow the below instructions:

  1. Add the following property to the cws.properties file located at <Process_Platform_Installation_Directory>/components/cws/config:
     development.publish.to.psl.enabled=true 
  2. Restart the Collaborative Workspace service container.

    Note: Enabling the feature to debug the instances of the previous versions will impact the performance of publishing the BPM. As the Published Source Layers that support this feature are stored in the form of stacks, publishing a BPM or opening the graphical view of a BPM will take much longer than usual.